package com.mcxx.modules.system.service.read;

import com.mcxx.modules.system.dao.read.TaskExportReadDao;
import com.mcxx.modules.system.entity.TaskExportEntity;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
@TaTransactional(readOnly = true)
public class TaskExportReadService {

    @Autowired
    private TaskExportReadDao taskExportReadDao;


    public List<TaskExportEntity> listAll(){ return taskExportReadDao.listAll(); }



    public TaskExportEntity getById(String id){ return taskExportReadDao.getById(id); }


    public List<TaskExportEntity> queryListByUser(String userId){ return taskExportReadDao.queryListByUser(userId); }
}
